package com.tv.cms.goods.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tv.cms.base.model.BaseModel;
import lombok.Data;

/**
 * TODO
 *
 * @author
 * @date
 **/
@Data
@TableName
public class Goods extends BaseModel {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer productId;
    private String price;
    private Integer adminId;
    private Integer type;
    private String iconUrl;
    private String stdPrice;
    private Integer orderId;
    private Integer days;
    @TableField(exist = false)
    private Integer roleId;
}
